home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM BV3 / BMUG PD-ROM Version BV3 (CDRM1097900).iso / HyperCard / Games / The Golden Parrot / card_5922.txt < prev    next >
Text File  |  1990-08-20  |  1KB  |  45 lines

  1. -- card: 5922 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3426
  5. -- name: Cross the bridge
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global score
  9.   subtract 5 from score
  10.   if score <= 0 then
  11.     visual effect scroll up
  12.     go card "end"
  13.   end if
  14.   put score into field "scorebox"
  15. end openCard
  16. on mouseUp
  17.   get field "textarea" of card "Mountain Trail"
  18.   put it into holder
  19.   put the number of lines in field "textarea" of card "Mountain Trail" into counter
  20.   repeat until counter = 0
  21.     get line counter of holder
  22.     if it contains "Travel upstream" then
  23.       delete line counter of field "textarea" of card "Mountain Trail"
  24.       put 1 into counter
  25.     end if
  26.     subtract 1 from counter
  27.   end repeat
  28.  
  29.   visual effect dissolve
  30.   go to card "Mountain Trail"
  31.  
  32. end mouseUp
  33.  
  34.  
  35. -- part contents for background part 1
  36. ----- text -----
  37. Cross the bridge
  38.  
  39. -- part contents for background part 2
  40. ----- text -----
  41. You cross over the rope bridge. It is surprisingly sturdy. Over a hill beyond the canyon, a fountain of water is gushing from the earth. This is the river's source. On the ground surrounding the  pool of the fountain, you find hundreds of bones, feathers, and rotting carcasses. These are the stark remains of the great parrots that have come there over the centuries when they are old and ready to die. There are no live parrots here.
  42.  
  43. -- part contents for background part 5
  44. ----- text -----
  45. 300